package org.codegallery.jpagal.repository;

import java.util.List;

import org.codegallery.jpagal.entity.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;


@Transactional(readOnly = true)
public interface CustomerRepository extends JpaRepository<Customer,Long>{
	List<Customer> findByFirstname(String firstname);
}
